#include "stdafx.h"
#include "ReactorDefString.h"
#include "InstanceTouch.h"
DECL_INSTANCE_TOUCH(ETouch_ReactorDefString);

struct  ReactorDefStringDefReflectionRegister
{
	ReactorDefStringDefReflectionRegister()
	{
		REGISTER_REFLECTION_MEMBER(ReactorDefString,m_iID,INVALID_ID).Editor_SetAsPrimaryKey();
		REGISTER_REFLECTION_MEMBER(ReactorDefString,m_sDisplayName,std::string("DefaultName")).Editor_SetAsDisplayName();
		REGISTER_REFLECTION_MEMBER(ReactorDefString,m_iReactorID,INVALID_ID).Editor_SetAsForeignKey(eDefGroup_Default,eDefaultDef_Reactors);
		REGISTER_REFLECTION_MEMBER(ReactorDefString,m_iLvel,0).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(ReactorDefString,value_0,std::string("")).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(ReactorDefString,value_1,std::string("")).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(ReactorDefString,value_2,std::string("")).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(ReactorDefString,value_3,std::string("")).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(ReactorDefString,value_4,std::string("")).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(ReactorDefString,m_sDesc,std::string("")).Editor_SetAsRaw();
		

		
		GlobalClassManager::Instance().RegisterClass(ReactorDefString::s_GetReflection(),eDefaultDef_ReactorDefString);
		GlobalDefManager::Instance().RegisterDefManger(&ReactorDefStringManager::Instance());

	}
}___ReactorDefStringDefReflectionRegister;

rewrite  void ReactorDefString::OnArchieveReaded()
{
}

void ReactorDefStringManager::OnArchieveReaded()
{
	__ReactorDefStringManager::OnArchieveReaded();
}